<template>
  <nav class="Nav">
    <span>
      <i :class="{'el-icon-arrow-left' :icoLeft}" />
      {{ Left }}
    </span>
    <span>{{ title }}</span>
    <span>
      {{ Right }}
      <i :class="{ 'el-icon-check' :icoRight}" />
    </span>
  </nav>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: ''
    },
    Left: {
      type: String,
      default: ''
    },
    Right: {
      type: String,
      default: ''
    },
    icoRight: {
      type: String,
      default: ''
    },
    icoLeft: {
      type: String,
      default: ''
    }
  }
}
</script>

<style scoped>
.Nav{
  width: 100%;
  height: 50px;
  background-color: rgb(69, 126, 239);
  display: flex;
  justify-content: space-between;
  line-height: 50px;
  padding: 0 20px;
}
</style>
